All Questions
1 question
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1vote
2answers
3kviews
checking if iptables are set on a system in script [duplicate]
I'm writing a script in bash and I need to check if iptables are set...I have this: if [ `iptables-save | grep '^\-' | wc -l` > 0 ] then echo "Iptables already set, skipping..........!" else ...
- The Overflow Blog
- Featured on Meta
Hot Network Questions
- Naming app entities after DB tables
- What is stopping trader taking arbitarge in HKD-USD
- Medieval isekai manhwa about a woman who works in a palace as a florist
- Is it a problem if the antagonist appears later in the novel?
- Some basic questions about size bias coupling: Poisson approximation
- What is the term for this type of book used to practice Torah reading?
- Number of factors and perfect cubes among a set of integers with limited prime divisors.
- Why Linux read() avoids using full 2 GiB in one call
- What is "Induced Atmospheric Vibration"?
- Has our understanding of genetics damaged existentialism?
- Tetris Perfect Clear puzzles
- Why do we multiply by 2 in a two-tailed test when the test statistic’s distribution is not symmetric?
- Clarification on Differential Signaling: Polarity and Tx/Rx Swap
- Is it permitted to intentionally smell McDonalds (or any other non Kosher store)?
- Word for the behaviour of those small fish that swim alongside whales or sharks
- In light cone, why is it a cone and not a sphere, given that light travels in all directions in space-time? Is it a projection of slice of 4D sphere?
- What is the ideal word count for a Young Adult fantasy novel from a debut writer?
- Protecting Secrets in Lost F/A-18 Super Hornet
- How do you sue what is likely to be a shell company?
- Is the complexity of using \lua_now:e justified when debugging complex expl3 code
- Lilypond Context-Context and Staff-Staff Spacing
- What are the Rhine Experiments, Their Purpose, and Significance?
- What was the difference between the nevuah (prophetic ability) of Moshe and all other prophets?
- How to achieve the Steel Division 2 frontline? (Dividing area smoothly with curves using a few points)